<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/color.css">
<script type="text/javascript" src="/xasj/easyui/jquery.min.js"></script>
<script type="text/javascript" src="/xasj/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/xasj/js/dvmap/editparent.js"></script>
<script type="text/javascript">

</script>
<%
List<Devres> dlist=(List<Devres>)request.getAttribute("dlist");
String dvId="0";
if(request.getAttribute("dvId")!=null){
	dvId=request.getAttribute("dvId").toString();
}
%>
</head>
<body >
	<input id="newdvId" type="text" value="<%=dvId%>" style="display:none">
	<div id="tbp1" style="padding:3px"class="easyui-panel" title="下联设备查询"
				data-options="iconCls:'icon-save',collapsible:true,closable:true">
			<input id="dvs" style="width:200px;height:23px;">
			<div  id="mm1" style="width:20px;display:none"> 
			<div data-options="name:'0',iconCls:'icon-ok'">请选择</div> 
			<%for(Devres dv:dlist){%>
			<div data-options="name:'<%=dv.getDvbelong()%>',iconCls:'icon-ok'"><%=dv.getDevresname()%></div> 
			<%}%> 
			</div> 			
			请选择设备： 
			<select id="dvresult" style="width:180px">
			</select>
			<a id="adddvnew" ></a>
			<input id="ceshi2" type="button"/>
	</div>

  		
    <div id="tbp2"class="easyui-panel" title="编辑设备上联"data-options="iconCls:'icon-save',collapsible:true">
		
	</div>
	
</body>
</html>